﻿using ProjectCore.Common;
using ProjectCore.Domain.Model.Entity;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ProjectCore.Domain.DomainService
{
    public interface IProductTypeDomainService
    {
        /// <summary>
        /// 商品分类显示
        /// </summary>
        /// <returns></returns>
        //Task<HeaderResult<List<PproductType>>> GetProductTypes();

        /// <summary>
        /// 逻辑删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<int> IsDel(int Id);

        /// <summary>
        /// 回文
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<ProductType> GetProductType(int Id);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="productType"></param>
        /// <returns></returns>
        Task<int> Upt(ProductType productType);
    }
}
